import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
const HardCodeKey = 'Hard-Code'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}

export function getHardCode() {
  return Cookies.get(HardCodeKey)
}

export function setHardCode(token) {
  return Cookies.set(HardCodeKey, token)
}

export function removeHardCode() {
  return Cookies.remove(HardCodeKey)
}